<?php
/**
 * Created by PhpStorm.
 * User: edmmss
 * Date: 2018/11/9
 * Time: 10:58
 */

namespace app\modules\factoryMethod\vehicle;

/**
 * Class AbstractVehicle
 * @package app\modules\factoryMethod\vehicle
 */
abstract class AbstractVehicle
{
    public $additional;

    /**
     * className
     *
     * @date   2018/11/9
     * @author edmmss
     * @param $rgb
     * @return mixed
     */
    abstract public function setColor($rgb);

    /**
     * className
     *
     * @date   2018/11/9
     * @author edmmss
     * @return mixed
     */
    public function getAdditional()
    {
        return $this->additional;
    }
}